export default {
    addcounter(state, payload) {
        payload.count++
            console.log(state.cartList);
    },
    unadd(state, payload) {
        payload.checked = true
        state.cartList.push(payload)

    }
}